<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
<title>Like-喜欢鲜花平台！让鲜花从农户到用户一步到位 </title>
    <meta name="keywords" content="喜欢婚礼,婚礼学堂,嘉田美合,婚礼图片,婚礼视频,婚礼VR,婚礼,婚庆"/>
    <meta name="description" content="喜欢婚礼平台,以婚礼机构为切入点，以婚礼用花为切入口，整合线下婚礼资源,鲜花,婚礼用品,舞美,人员等"/>
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0"/>
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no,email=no,adress=no"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge chrome=1"/>
    <meta name="renderer" content="webkit">
    <link rel="icon" href="" type="image/x-icon">
    <link rel="stylesheet" type="text/css" href="../../statics/css/cssinit.css"/>
    <link rel="stylesheet" type="text/css" href="../../statics/css/download/download.css"/>
</head>
<body>
<div class="bigone">
    <header>
        <a href="../../index.html" title="返回"><img src="../../statics/images/online/arrowback.png" alt="返回"/></a>
        <label>资源下载</label>
        <a class="a2" href="../search.html" title="搜索"></a>
        <a class="s" href="../personal/enter.html"></a>
    </header>
    <!--header END-->
    <div id="classify">
        <label id="default"><em>全部类型</em>&nbsp;<img src="../../statics/images/online/arrowdown.png" alt="默认"/></label>
        <label id="sales">下载优先</label>
    </div>
    <div class="default">
        <p>中式婚礼</p>

        <p>西式婚礼</p>

        <p>收藏最高</p>

        <p style="border-bottom: 0">最新发布</p>
    </div>
</div>
<!--筛选END-->
<div id="main">
    <div class="continer">
        <img src="../../statics/images/index/banner.jpg" alt=""/>

        <div class="h3">
            <h3>中式婚礼设计图</h3>
        </div>
        <p>
            <label>
                <!--<img src="" alt="收藏"/>-->
                收藏</label>
            <label>
                <!--<img src="" alt="下载"/>-->
                下载</label>
        </p>
    </div>
    <div class="continer">
        <img src="../../statics/images/index/20160909173826.jpg" alt=""/>

        <div class="h3">
            <h3>英式婚礼设计图</h3>
        </div>
        <p>
            <label><!--<img src="" alt="收藏"/>-->收藏</label>
            <label><!--<img src="" alt="下载"/>-->下载</label>
        </p>
    </div>
</div>
</body>
</html>
<script type="text/html" id="mod">
    <div class="continer">
        <img src={{imgsrc}} alt={{title}}/>

        <div class="h3">
            <h3>{{title}}</h3>
        </div>
        <p>
            <label>
                <!--<img src="" alt="收藏"/>-->
                收藏<i>{{sc}}</i></label>
            <label>
                <!--<img src="" alt="下载"/>-->
                下载<i>{{download}}</i></label>
        </p>
    </div>
</script>
<script src="../../statics/js/common.js"></script>
<script src="../../statics/js/download/download.js"></script>
<script>
    var obj = {
        data: [
            {
                imgsrc: '../../statics/images/index/banner.jpg',
                title: '中式婚礼设计图',
                h3: '中式婚礼设计图',
                sc: '',
                download: ''
            },
            {
                imgsrc: '../../statics/images/index/banner.jpg',
                title: '中式婚礼设计图',
                h3: '中式婚礼设计图',
                sc: '',
                download: ''
            },
            {
                imgsrc: '../../statics/images/index/banner.jpg',
                title: '中式婚礼设计图',
                h3: '中式婚礼设计图',
                sc: '',
                download: ''
            }
        ]
    }

    function jshtml(idname, jsmodid, obj) {
        var main = document.getElementById(idname);
        var jsmod = document.getElementById(jsmodid);
        var html = '';
        for (var k in obj) {
            var htmlm = jsmod.innerHTML;
            for (var i in obj[k]) {
                var re = new RegExp('{{' + i + '}}', 'g');
                htmlm = htmlm.replace(re, obj[k][i]);
            }
            html += htmlm;
        }
        main.innerHTML = html;
    }
    ;
    jshtml('main', 'mod', obj.data);
</script>